package models

func GetUserInfo(user User3) (User3, error) {
	newUser := User3{}
	res := db.Where(user).First(&newUser)
	return newUser, res.Error
}
func CreateUser(user User3) (User3, error) {
	res := db.Create(&user)
	return user, res.Error
}
